<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>指尖金融</title>
		<link href="../../../css/common.css" type="text/css" rel="stylesheet">
		<link href="../../../css/base.css" type="text/css" rel="stylesheet">
		<link href="news.css" type="text/css" rel="stylesheet">
		<link href="../../../res/png/icon.png" rel="shortcut icon" />	
		<link rel="stylesheet" type="text/css" href="../../../js/My97DatePicker/skin/WdatePicker.css" />
	</head>
	<body>
		<div class="wrapper">
			<!-- 顶部菜单栏 -->
			<div id="header" class="header">
			</div>
			<div class="main" id="main">
				<!-- 左侧菜单栏 -->
				<div id="leftMenu" class="left"></div>
				<div class="pages">
					<div class="page" data-page="demo">
						<div class="table-section none">
							<p class="table-head">
								<label class="table-title">新闻资讯</label>
								<a class="table-btn" id="news-add">发表文章</a>
							</p>
							<p class="table-search">
								<label for="" class="publishTime">发布时间：</label>
								<input class="field-input Wdate FromTime" type="text" id="issueDateFromTime" name="issueDateFromTime" placeholder="请输入时间" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true,maxDate:'#F{$dp.$D(\'issueDateToTime\',{d:0})}'})" />
								--
								<input class="field-input Wdate ToTime" type="text" id="issueDateToTime" name="issueDateToTime" placeholder="请输入时间" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true,minDate:'#F{$dp.$D(\'issueDateFromTime\',{d:1})}'})" />
								
								<label for="" class="categoryNews">所属栏目：</label>
								<select class="sel-categoryNews" id="newsCategoryId">
									<option value="">全部</option>
								</select>
								<label for="" class="publisher">发布人：</label>
								<input class="input-publisher" type="text" name="keyword" id="publisher" placeholder="请输入发布人"/>
								<br />
								<label for="" class="newsTitle">文章标题：</label>
								<input class="input-newsTitle" type="text" name="keyword" id="newsTitle" placeholder="请输入标题"/>
						   		<label for="" class="recommend">是否推荐：</label>
								<select class="sel-recommend" id="recommend">
									<option value="">全部</option>
									<option value="1">是</option>
									<option value="0">否</option>
								</select>
								<button class="table-search-button" id="newsListButton">查询</button>
							</p>
							<table class="table">
								<thead>
									<tr class="">
										<th width="15%">发布时间</th>
										<th width="40%">文章标题</th>
										<th width="15%">发布人</th>
										<th width="15%">所属栏目</th>
										<th width="10%">操作</th>
									</tr>
								</thead>
								<tbody id="newsListBody">
								</tbody>
								<script type="text/template" id="newsListTpl">
									{@each datas as it}
									<tr class="tr_style table-data" newsId="${it.newsId}">
										<td class="pl10">${it.issueDate}</td>
										<td class="pl10">${it.newsTitle}</td>
										<td class="pl10">${it.publisher}</td>
										<td class="pl10">${it.newsCategoryName}</td>
										<td class="pl10">
											<span class="table_details_link newsListDetail">详情 </span>
											<span class="table_bar">| </span>
											<span class="table_delete_btn">删除 </span>
										</td>
									</tr>
									{@/each}
								</script>
							</table>
							<div id="newspagenation" class="pagerCon"></div>
						</div>
					</div>
				</div>
				<div id="popdialog"></div>
			</div>
			<!-- 底部 -->
			<div id="footer" class="none footer" >
				
		    </div>
			<div class="dialog none" id="confirmDialog" style="width:300px;">
				<div class="dialogTitle"></div>
				<button class="closeDiv">×</button>
				<div class="dialogContent">
				</div>
				<div class="footerBtn">
					<div class="dialogBtn dialogHandlerBtn radius_shadow">确定</div>
				</div>
			</div>
		</div>
		<script type="text/javascript" src="../../../js/jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="../../../js/seajs/sea.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-text.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-css.js"></script>
		<script type="text/javascript" src="../../../js/platform/config.js"></script>
		<script type="text/javascript" src="../../../js/juicer-min.js"></script>
		<script src="../../../js/ajaxfileupload.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			seajs.use('./news', function(news) {
				news.init(1);
			});
		</script>
	</body>

</html>